package com.qzh.QLanguage.ElementAnalyse;

// Token数据结构（包含类型、值和行号）
class Token {
    public final TokenType type;
    public final String value;
    public final int line;

    public Token(TokenType type, String value, int line) {
        this.type = type;
        this.value = value;
        this.line = line;
    }
    @Override
    public String toString() {
        return type + ":'" + value + "'";
    }
}